Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapply "Report Apple Ad attribution using pixel" #2702

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Apr 9, 2024

Task/Issue URL: https://app.asana.com/0/414235014887631/1206793336468690/f

Description:
Adds a pixel m.apple-ad-attribution to monitor anonymous install attribution data from Apple. Pixel is sent during launch once per installation.

Steps to test this PR:

  1. Verify pixel is fired during app launch with expected parameters (ATB included)
  2. Restart app and check pixel is not reported again

Internal references:

Software Engineering Expectations
Technical Design Template

Copy link

github-actions bot commented Apr 9, 2024

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS against db3a6c5

@dus7 dus7 changed the title Reapply "Report Appe Ad attribution using pixel" Reapply "Report Apple Ad attribution using pixel" Apr 9, 2024
@dus7 dus7 force-pushed the mariusz/reapply-ad-attribution branch from 3898d66 to 2b3428a Compare April 19, 2024 08:35
@@ -410,6 +411,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
}

private func reportAdAttribution() {
guard AdAttributionPixelReporter.isAdAttributionReportingEnabled else { return }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've add flag here so it's easy to flip the switch once needed.

@dus7 dus7 marked this pull request as ready for review April 26, 2024 10:23
@samsymons samsymons self-requested a review April 26, 2024 22:47
@samsymons samsymons merged commit 6ccc301 into main Apr 29, 2024
13 checks passed
@samsymons samsymons deleted the mariusz/reapply-ad-attribution branch April 29, 2024 05:04
samsymons added a commit that referenced this pull request Apr 30, 2024
* main: (38 commits)
  Disable the feedback send button when there’s no text (#2800)
  Release 7.118.0-0 (#2802)
  Autofill Settings - Import passwords via sync (#2756)
  Fix selected VPN location consistency (#2797)
  Reapply "Report Apple Ad attribution using pixel" (#2702)
  reapply auto clear fix, clear cookies, load page on link click (#2798)
  Toggle Connect on Demand when receiving user initiated VPN lifecycle events (#2771)
  Update BSK to 141.1.1 (#2796)
  iOS: VPN Metadata Improvements (#2791)
  Add Internal Page suggestions support (#2784)
  iOS: Add pixels to track VPN wake and stop attempts (#2785)
  Fix bug that shows selected tab in strange position in the switcher (#2789)
  Remove AppTP (#2682)
  Release 7.117.0-1 (#2794)
  cherry pick progress bar fix (#2793)
  fix progress bar missing after cold launch (#2792)
  Check entitlements before showing VPN screen from notification (#2748)
  Add parameter allowed encoding to error descriptions (#2781)
  Update Lottie to 4.4.3 (#2765)
  Update to fastlane 2.220.0 to fix ad-hoc lane (#2782)
  ...
@samsymons samsymons mentioned this pull request May 6, 2024
13 tasks
ayoy pushed a commit that referenced this pull request May 8, 2024
Task/Issue URL: https://app.asana.com/0/414235014887631/1207179335148911/f

Description:
This PR enables the attribution flag added in #2702.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants